import request from '@/utils/request';
// 获取数据
export function users(keywords: any, status: any, page: any, size: any) {
  return request.get(`/api/v1/users/page?keywords=${keywords}&status=${status}&pageNum=${page}&pageSize=${size}`)
}

// export function searchUser(keywords: any, status: any, page: any, size: any, startTime: any, endTime: any) {
//   return request.get(`/api/v1/users/page?keywords=${keywords}&status=${status}&pageNum=${page}&pageSize=${size}&startTime=${startTime}&endTime=${endTime}`)
// }

// 导入用户
export function importUser(deptId: any) {
  return request.post(`/api/v1/users/import?deptId=${deptId}`)
}